import request from './request'

export const add = (params) => {
  return request.post('/zxch/note/app',params)
}

export const update = (params) => {
  return request.put('/zxch/note/app',params)
}

export const del = (ids) => {
  return request.delete(`/zxch/note/app/${ids}`)
}

export const getList = (params) => {
  return request.get('/zxch/note/app/list',params)
}

export const getInfo = (id) => {
  return request.get(`/zxch/note/app/${id}`)
}